package com.hao.desing.builder.moder2;

public class Worker extends Builder {
    private com.hao.desing.builder.moder2.product product;

    public Worker() {
        product = new com.hao.desing.builder.moder2.product();
    }

    @Override
    com.hao.desing.builder.moder2.product getProduct() {
        return product;
    }

    @Override
    Builder buildA(String msg) {
        product.setBuildA(msg);
        return this;
    }

    @Override
    Builder buildB(String msg) {
        product.setBuildB(msg);
        return this;
    }

    @Override
    Builder buildC(String msg) {
        product.setBuildC(msg);
        return this;
    }

    @Override
    Builder buildD(String msg) {
        product.setBuildD(msg);
        return this;
    }
}
